<template lang="html">
    <div id="temp">
        <mt-swipe :auto="1000">
            <mt-swipe-item v-for="item in imgs" :key="item.id">
                <img :src="item.img" alt="">
            </mt-swipe-item>
        </mt-swipe>
    </div>
</template>
<script type="text/ecmascript-6">
    export default{
        data(){
            return {

            }
        },
        props:['imgs']
    
    }
</script>
<style scoped>
    .mint-swipe{
        height: 300px;
    }

    .mint-swipe-item{
        height: 100%;
        width: 100%;
        /*background-color: pink;*/
    }
    .mint-swipe-item img{
        display: block;
        width: 100%;
        height: 100%;
    }
</style>